﻿using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace Syx.Webapi.AppCode.Entities {

	[JsonObject(MemberSerialization.OptIn), Table(Name = "YG_BASE_ALL", DisableSyncStructure = true)]
	public partial class YGBASEALL {

		[JsonProperty, Column(Name = "TAB_ID", IsPrimary = true)]
		public ulong TABID { get; set; }

		[JsonProperty]
		public int? BCLASS { get; set; }

		[JsonProperty, Column(Name = "BCLASS_NAME", DbType = "VARCHAR2(50 BYTE)")]
		public string BCLASSNAME { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(50 BYTE)")]
		public string BCODE { get; set; }

		[JsonProperty, Column(Name = "BCODE_JK", DbType = "VARCHAR2(50 BYTE)")]
		public string BCODEJK { get; set; }

		[JsonProperty, Column(Name = "BKIND_CODE", DbType = "VARCHAR2(50 BYTE)")]
		public string BKINDCODE { get; set; }

		[JsonProperty, Column(Name = "BKIND_NAME", DbType = "VARCHAR2(50 BYTE)")]
		public string BKINDNAME { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(200 BYTE)")]
		public string BNAME { get; set; }

		[JsonProperty, Column(Name = "BNAME_EN", DbType = "VARCHAR2(50 BYTE)")]
		public string BNAMEEN { get; set; }

		[JsonProperty, Column(Name = "BNAME_JK", DbType = "VARCHAR2(50 BYTE)")]
		public string BNAMEJK { get; set; }

		[JsonProperty]
		public int? BORDERNO { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(500 BYTE)")]
		public string BREMARK { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(100 BYTE)")]
		public string BSPECI { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(50 BYTE)")]
		public string BZJM { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(500 BYTE)")]
		public string EXEFILE { get; set; }

		[JsonProperty, Column(Name = "FLAG_ADD1")]
		public sbyte? FLAGADD1 { get; set; }

		[JsonProperty, Column(Name = "FLAG_ADD10")]
		public sbyte? FLAGADD10 { get; set; }

		[JsonProperty, Column(Name = "FLAG_ADD2")]
		public sbyte? FLAGADD2 { get; set; }

		[JsonProperty, Column(Name = "FLAG_ADD3")]
		public sbyte? FLAGADD3 { get; set; }

		[JsonProperty, Column(Name = "FLAG_ADD4")]
		public sbyte? FLAGADD4 { get; set; }

		[JsonProperty, Column(Name = "FLAG_ADD5")]
		public sbyte? FLAGADD5 { get; set; }

		[JsonProperty, Column(Name = "FLAG_ADD6")]
		public sbyte? FLAGADD6 { get; set; }

		[JsonProperty, Column(Name = "FLAG_ADD7")]
		public sbyte? FLAGADD7 { get; set; }

		[JsonProperty, Column(Name = "FLAG_ADD8")]
		public sbyte? FLAGADD8 { get; set; }

		[JsonProperty, Column(Name = "FLAG_ADD9")]
		public sbyte? FLAGADD9 { get; set; }

		[JsonProperty, Column(Name = "FROM_JK")]
		public sbyte? FROMJK { get; set; }

		[JsonProperty, Column(Name = "INT_ADD1")]
		public int? INTADD1 { get; set; }

		[JsonProperty, Column(Name = "INT_ADD2")]
		public int? INTADD2 { get; set; }

		[JsonProperty]
		public sbyte? ISALWAYS { get; set; }

		[JsonProperty]
		public sbyte? ISCLOSE { get; set; }

		[JsonProperty]
		public sbyte? ISFILTER { get; set; }

		[JsonProperty]
		public sbyte? ISUSE { get; set; }

		[JsonProperty]
		public sbyte? ISVISIBLE { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(500 BYTE)")]
		public string REFID { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(200 BYTE)")]
		public string RELID { get; set; }

		[JsonProperty, Column(Name = "STR_ADD1", DbType = "VARCHAR2(200 BYTE)")]
		public string STRADD1 { get; set; }

		[JsonProperty, Column(Name = "STR_ADD10", DbType = "VARCHAR2(30 BYTE)")]
		public string STRADD10 { get; set; }

		[JsonProperty, Column(Name = "STR_ADD2", DbType = "VARCHAR2(50 BYTE)")]
		public string STRADD2 { get; set; }

		[JsonProperty, Column(Name = "STR_ADD3", DbType = "VARCHAR2(50 BYTE)")]
		public string STRADD3 { get; set; }

		[JsonProperty, Column(Name = "STR_ADD4", DbType = "VARCHAR2(500 BYTE)")]
		public string STRADD4 { get; set; }

		[JsonProperty, Column(Name = "STR_ADD5", DbType = "VARCHAR2(30 BYTE)")]
		public string STRADD5 { get; set; }

		[JsonProperty, Column(Name = "STR_ADD6", DbType = "VARCHAR2(30 BYTE)")]
		public string STRADD6 { get; set; }

		[JsonProperty, Column(Name = "STR_ADD7", DbType = "VARCHAR2(30 BYTE)")]
		public string STRADD7 { get; set; }

		[JsonProperty, Column(Name = "STR_ADD8", DbType = "VARCHAR2(30 BYTE)")]
		public string STRADD8 { get; set; }

		[JsonProperty, Column(Name = "STR_ADD9", DbType = "VARCHAR2(30 BYTE)")]
		public string STRADD9 { get; set; }

	}

}
